package com.sweet.moshi.staticproxy;

public class MarryCompany implements Marry {
    private You you;
    public MarryCompany(You you) {
        this.you = you;
    }
    @Override
    public void marry() {
        before();
        you.marry();
        after();
    }

    private void after() {
        System.out.println("结婚后，结下尾款～");
    }

    private void before() {
        System.out.println("结婚前，布置婚礼现场～");
    }
}
